roast (an) onion

Translations
запечь лук
You can roast an onion for a sweeter flavor.
Можно запечь лук для более сладкого вкуса.